
prizienum=[1,3,6,11,15,22]
blue=3
redballs=[]#放红球
print("6个红球：")
reds=0
blueball=0#统计红球和蓝球的包含的个数
i=0
while i<6:
    k=int(input(f"{i+1}:"))
    if k>33 or k<1:
        print("超出范围！")
        continue
    if redballs.count(k)>0:
        print("已经存在")
        continue
    redballs.append(k)
    i+=1
    if prizienum.__contains__(k):
        reds+=1
b=int(input("请输入篮球:"))
if blue==b:
    blueball+=1

if reds==6 and blueball==1:
    print("1等奖")
elif reds==6 and blueball==0:
    print("2等奖")

